SetValue(Int32,Int32,Object[,],Boolean) Method
In This Topic
Sets an object array into a specified range of cells.
Syntax
'Declaration
Public Overloads Function SetValue( _
ByVal As Integer, _
ByVal column As Integer, _
ByVal (,) As Object, _
ByVal As Boolean _
) As Boolean
'Usage
Dim instance As Worksheet
Dim row As Integer
Dim column As Integer
Dim values() As Object
Dim vertical As Boolean
Dim value As Boolean
value = instance.SetValue(row, column, values, vertical)
public bool SetValue(
int ,
int column,
object[,] ,
bool
)
Parameters
- row
- Row index of the start of the range of cells
- column
- Column index of the start of the range of cells
- values
- Two-dimensional object array[row,column] that contains the values
- vertical
- if True, array will be set follow column index, other, it will be set follow row index.
See Also